#ifndef ALTESTIMATOR_H
#define ALTESTIMATOR_H

class AltEstimator {
public:
	AltEstimator(float dt, float kh, float kv);

	void update(float h);
	float getAltitude() const {return h_;}
	float getVspeed() const {return v_;}

private:
	AltEstimator();

	const float dt_;
	const float kh_;
	const float kv_;
	float h_;
	float v_;
	const float maxd_;
};


#endif

